package net.xdclass.util;

import org.apache.shardingsphere.core.strategy.keygen.SnowflakeShardingKeyGenerator;

public class IDUtil {

    private static SnowflakeShardingKeyGenerator generator = new SnowflakeShardingKeyGenerator();

    public static Comparable<?> geneSnowFlakeID(){
        return generator.generateKey();
    }
}
